package org.design.hotdevelop.service;

import lombok.extern.slf4j.Slf4j;
import org.design.hotdevelop.annotaion.HotSwap;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

/**
 * @description:
 * @author: freedom
 * @date: 2024/9/25
 **/
@Service
@Slf4j
@HotSwap("OrderService")
public class OrderService  {

    public Map<String,String> show(String msg){
        log.info(msg);
        Map<String,String> map =  new HashMap<>();
        map.put("msg",msg);
        return map;
    }
}
